package com.infocollect.common.sms;

import java.util.LinkedHashMap;

/**
 * 发送短信的接口
 * @author Leo
 *
 */
public interface MessageSender {
	/**
	 * 
	 * @Description:发送文字短信
	 * @author: Leo-盛金鹿   
	 * @version: V.1.0 2019-01-09 17:44:23
	 * @param mobile
	 * @param temPlateCode
	 * @param map
	 * @param smsRecordService 
	 * @param smsId 
	 * @param aliMessage 
	 * @return
	 */
	public boolean sendMessage(String mobile, String templateId, LinkedHashMap<String, String> map) throws Exception;

	/**
	 * 
	 * @Description:发送语音短信
	 * @author: Leo-盛金鹿   
	 * @version: V.1.0 2019-01-09 17:44:30
	 * @param mobile
	 * @param temPlateCode
	 * @param map
	 * @return
	 */
	public boolean sendVoiceMessage(String mobile, String templateId, LinkedHashMap<String, String> map)
			throws Exception;
}
